/**
 * 人员调岗单 http 请求
 */
import http from '@/utils/request'

export const gainBillNo = (data) => {
  return http.get('/api/erp/hr/adjust/erpHrEmployeeAdjustPostBill/getBillNo', data)
}

export const add = (data) => {
  return http.post('/api/erp/hr/adjust/erpHrEmployeeAdjustPostBill/add', data)
}

export const edit = (data) => {
  return http.put('/api/erp/hr/adjust/erpHrEmployeeAdjustPostBill/edit', data)
}

export const info = (data) => {
  return http.get('/api/erp/hr/adjust/erpHrEmployeeAdjustPostBill/queryById', data)
}

export const queryPostRecordByInfo = (data) => {
  return http.get('/api/erp/files/employee/erpEmployeePostChangeRecord/queryPostRecordByInfo', data)
}

export const queryFileById = (data) => {
  return http.get('/api/erp/files/employee/erpEmployeeFile/queryFileById', data)
}
